package com.ychug.service.cms.entity;


import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 内容详情表 cms_news_data
 * 
 * @author mcpcms
 * @date 2019-04-30
 */
public class CmsNewsDataEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long id;
	/** 内容编码 */
	private Integer contentId;
	/** 主标题 */
	private String title;
	/** 完整标题 */
	private String fullTitle;
	/** 转向链接 */
	private String link;
	/** 是否在新窗口打开 */
	private String isNewWindow;
	/** 颜色 */
	private String color;
	/** 文档路径 */
	private String newsPath;
	/** 文档模板 */
	private String newsTemplate;
	/** meta描述 */
	private String description;
	/** 来源名称 */
	private String source;
	/** 来源url */
	private String sourceUrl;
	/** 填写内容 */
	private String content;
	/** 是否允许评论 */
	private String isAllowComment;
	/** 审核步骤名称 */
	private String stepName;
	/** 排序 */
	private Integer sort;
	/** 作者 */
	private String author;
	/** 备注 */
	private String remark;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setContentId(Integer contentId) 
	{
		this.contentId = contentId;
	}

	public Integer getContentId() 
	{
		return contentId;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setFullTitle(String fullTitle) 
	{
		this.fullTitle = fullTitle;
	}

	public String getFullTitle() 
	{
		return fullTitle;
	}
	public void setLink(String link) 
	{
		this.link = link;
	}

	public String getLink() 
	{
		return link;
	}
	public void setIsNewWindow(String isNewWindow) 
	{
		this.isNewWindow = isNewWindow;
	}

	public String getIsNewWindow() 
	{
		return isNewWindow;
	}
	public void setColor(String color) 
	{
		this.color = color;
	}

	public String getColor() 
	{
		return color;
	}
	public void setNewsPath(String newsPath) 
	{
		this.newsPath = newsPath;
	}

	public String getNewsPath() 
	{
		return newsPath;
	}
	public void setNewsTemplate(String newsTemplate) 
	{
		this.newsTemplate = newsTemplate;
	}

	public String getNewsTemplate() 
	{
		return newsTemplate;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setSource(String source) 
	{
		this.source = source;
	}

	public String getSource() 
	{
		return source;
	}
	public void setSourceUrl(String sourceUrl) 
	{
		this.sourceUrl = sourceUrl;
	}

	public String getSourceUrl() 
	{
		return sourceUrl;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setIsAllowComment(String isAllowComment) 
	{
		this.isAllowComment = isAllowComment;
	}

	public String getIsAllowComment() 
	{
		return isAllowComment;
	}
	public void setStepName(String stepName) 
	{
		this.stepName = stepName;
	}

	public String getStepName() 
	{
		return stepName;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}
	public void setAuthor(String author) 
	{
		this.author = author;
	}

	public String getAuthor() 
	{
		return author;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contentId", getContentId())
            .append("title", getTitle())
            .append("fullTitle", getFullTitle())
            .append("link", getLink())
            .append("isNewWindow", getIsNewWindow())
            .append("color", getColor())
            .append("newsPath", getNewsPath())
            .append("newsTemplate", getNewsTemplate())
            .append("description", getDescription())
            .append("source", getSource())
            .append("sourceUrl", getSourceUrl())
            .append("content", getContent())
            .append("isAllowComment", getIsAllowComment())
            .append("stepName", getStepName())
            .append("sort", getSort())
            .append("author", getAuthor())
            .append("remark", getRemark())
            .toString();
    }
}
